home *** CD-ROM | disk | FTP | other *** search
- package com.ms.dxmedia;
-
- import com.ms.com.ComFailException;
- import com.ms.dxmedia.rawcom.DAPoint2;
- import com.ms.dxmedia.rawcom.IDABehavior;
- import com.ms.dxmedia.rawcom.IDAPoint2;
-
- public class Point2Bvr extends Behavior {
- private IDAPoint2 _COMptr;
-
- public NumberBvr getX() {
- try {
- return new NumberBvr(this.getCOMPtr().getX());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public void setCOMBvr(IDABehavior var1) {
- super.setCOMBvr(var1);
- this._COMptr = (IDAPoint2)var1;
- }
-
- public static Point2Bvr newUninitBvr() {
- return new Point2Bvr(new DAPoint2());
- }
-
- public Point2Bvr(IDAPoint2 var1) {
- super(var1);
- this._COMptr = var1;
- }
-
- public Point2Bvr() {
- super((IDABehavior)null);
- this._COMptr = null;
- }
-
- protected Behavior newUninitBehavior() {
- return newUninitBvr();
- }
-
- public NumberBvr getPolarCoordAngle() {
- try {
- return new NumberBvr(this.getCOMPtr().getPolarCoordAngle());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public NumberBvr getY() {
- try {
- return new NumberBvr(this.getCOMPtr().getY());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public IDAPoint2 getCOMPtr() {
- return this._COMptr;
- }
-
- public Point2Bvr transform(Transform2Bvr var1) {
- try {
- return new Point2Bvr(this.getCOMPtr().Transform(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public NumberBvr getPolarCoordLength() {
- try {
- return new NumberBvr(this.getCOMPtr().getPolarCoordLength());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
- }
-